package com.tequila.core.service;

import com.tequila.domain.dto.ManagerDto;
import com.tequila.domain.entity.Manager;
import com.tequila.domain.query.ManagerQuery;

import fe.core.Pagination;

import java.util.List;

public interface ManagerService {

    public Pagination<ManagerDto> queryPageListByParam(ManagerQuery query);

    public ManagerDto queryById(Long id);

    public List<ManagerDto> queryByIdList(List<Long> idList);

    public List<ManagerDto> queryListByParam(ManagerQuery query);

    public Long insert(Manager entity);

    public Long save(Manager entity);

    public int updateById(Manager param);

    public int updateSelectiveById(Manager param);

    public int deleteById(Long id);

    public ManagerDto queryManagerByAccount(String account);

    public int deleteByIdList(List<Long> idList);
}
